package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.TDevice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.dto.req.DeviceReqDto;
import com.ruoyi.system.dto.resq.DeviceRespDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author dell
* @description 针对表【t_device(设备登记信息表)】的数据库操作Mapper
* @createDate 2023-11-14 17:38:34
* @Entity com.ruoyi.system.domain.TDevice
*/
public interface TDeviceMapper extends BaseMapper<TDevice> {

    List<DeviceRespDto> selectDeviceList(@Param("dto") DeviceReqDto deviceReqDto);

    DeviceRespDto selectOneByDeviceId(@Param("deviceId") String deviceId);

    List<DeviceRespDto> selectListByOwnerId(@Param("ownerId") String ownerId);
}




